package com.efast.dmom.mgmt.service.master.impl;
import java.util.List;

import com.efast.dmom.mgmt.dao.master.TrBasPartSupplDao;
import com.efast.dmom.mgmt.entity.master.TrBasPartSuppl;
import com.efast.dmom.mgmt.service.master.TrBasPartSupplService;
import com.efast.dmom.mgmt.utils.Assist;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
@Service
public class TrBasPartSupplServiceImpl implements TrBasPartSupplService{
    @Autowired
    private TrBasPartSupplDao trBasPartSupplDao;
    @Override
    public long getTrBasPartSupplRowCount(Assist assist){
        return trBasPartSupplDao.getTrBasPartSupplRowCount(assist);
    }
    @Override
    public List<TrBasPartSuppl> selectTrBasPartSuppl(Assist assist){
        return trBasPartSupplDao.selectTrBasPartSuppl(assist);
    }
    @Override
    public TrBasPartSuppl selectTrBasPartSupplByObj(TrBasPartSuppl obj){
        return trBasPartSupplDao.selectTrBasPartSupplByObj(obj);
    }
    @Override
    public TrBasPartSuppl selectTrBasPartSupplById(Integer id){
        return trBasPartSupplDao.selectTrBasPartSupplById(id);
    }
    @Override
    public int insertTrBasPartSuppl(TrBasPartSuppl value){
        return trBasPartSupplDao.insertTrBasPartSuppl(value);
    }
    @Override
    public int insertNonEmptyTrBasPartSuppl(TrBasPartSuppl value){
        return trBasPartSupplDao.insertNonEmptyTrBasPartSuppl(value);
    }
    @Override
    public int insertTrBasPartSupplByBatch(List<TrBasPartSuppl> value){
        return trBasPartSupplDao.insertTrBasPartSupplByBatch(value);
    }
    @Override
    public int deleteTrBasPartSupplById(Integer id){
        return trBasPartSupplDao.deleteTrBasPartSupplById(id);
    }
    @Override
    public int deleteTrBasPartSuppl(Assist assist){
        return trBasPartSupplDao.deleteTrBasPartSuppl(assist);
    }
    @Override
    public int updateTrBasPartSupplById(TrBasPartSuppl enti){
        return trBasPartSupplDao.updateTrBasPartSupplById(enti);
    }
    @Override
    public int updateTrBasPartSuppl(TrBasPartSuppl value, Assist assist){
        return trBasPartSupplDao.updateTrBasPartSuppl(value,assist);
    }
    @Override
    public int updateNonEmptyTrBasPartSupplById(TrBasPartSuppl enti){
        return trBasPartSupplDao.updateNonEmptyTrBasPartSupplById(enti);
    }
    @Override
    public int updateNonEmptyTrBasPartSuppl(TrBasPartSuppl value, Assist assist){
        return trBasPartSupplDao.updateNonEmptyTrBasPartSuppl(value,assist);
    }

    public TrBasPartSupplDao getTrBasPartSupplDao() {
        return this.trBasPartSupplDao;
    }

    public void setTrBasPartSupplDao(TrBasPartSupplDao trBasPartSupplDao) {
        this.trBasPartSupplDao = trBasPartSupplDao;
    }

}